package com.didi.gulimall.api.impl;

import com.didi.gulimall.api.MemberApiService;
import com.didi.gulimall.auth.vo.SocialUser;
import com.didi.gulimall.auth.vo.UserLoginVo;
import com.didi.gulimall.auth.vo.UserRegistVo;
import com.didi.gulimall.common.constant.BizCodeEnume;
import com.didi.gulimall.common.exception.DuplicateFieldsException;
import com.didi.gulimall.common.utils.R;
import org.springframework.stereotype.Component;

/**
 * @author 10626
 */
@Component
public class MemberApiServiceImpl implements MemberApiService {

    @Override
    public R registered(UserRegistVo memberRegistVo) throws DuplicateFieldsException {
        return R.error(BizCodeEnume.REMOTE_CALL_FAILED.getMsg());
    }

    @Override
    public R login(UserLoginVo memberLoginVo) {
        return R.error(BizCodeEnume.REMOTE_CALL_FAILED.getMsg());
    }

    @Override
    public R oauthweibologin(SocialUser socialUser) {
        return R.error(BizCodeEnume.REMOTE_CALL_FAILED.getMsg());
    }
}
